package com.sys.server.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 *
 * @author shanbingzhen
 */
@Component
@ConfigurationProperties(prefix = "sys")
public class CommonConfig {

    /** 用户模板excel文件路径 */
    private static String excel_path;

    /** 附件路径 */
    private static String appendix_path;

    public static String getExcel_path() {
        return excel_path;
    }

    public void setExcel_path(String excel_path) {
        CommonConfig.excel_path = excel_path;
    }

    public static String getAppendix_path() {
        return appendix_path;
    }

    public void setAppendix_path(String appendix_path) {
        CommonConfig.appendix_path = appendix_path;
    }

}
